public class MarketOrder extends OrderDecorator {

	public MarketOrder(AbstractOrder abstractOrder) {
		super(abstractOrder);
		this.abstractOrder.setOrderType(OrderType.MARKET);
	}

	public void createOrder(int orderId, OrderCategory orderCategory,
			int accountId, int portfolioId) {
		super.createOrder(orderId, orderCategory, accountId, portfolioId);
	}

	public void display() {
		super.display();
	}

	@Override
	public void initializeOrder() {
		super.initializeOrder();
	}

	@Override
	public void activeOrder() {
		super.activeOrder();
	}

	@Override
	public void partialOrder() {
		super.partialOrder();
	}

	@Override
	public void closeOrder(boolean isOrderFulfilled) {
		super.closeOrder(isOrderFulfilled);
	}

	public void updateOrder(StockValueObserver buyer,
			StockValueObserver seller, int matchedQuantity) {
		abstractOrder.updateOrder(buyer, seller, matchedQuantity);
	}
}
